package com.ilop.sthome.data.greenDao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import org.greenrobot.greendao.annotation.Generated;

/**
 * @author skygge
 * @date 2020-01-08.
 * GitHub：javofxu@github.com
 * email：skygge@yeah.net
 * description：房间实体类
 */
@Entity
public class RoomBean {

    @Id(autoincrement = true)
    private Long id;

    private String userId;

    private String rid;

    private String room_name;

    private String nickname;

    @Generated(hash = 560602102)
    public RoomBean(Long id, String userId, String rid, String room_name,
            String nickname) {
        this.id = id;
        this.userId = userId;
        this.rid = rid;
        this.room_name = room_name;
        this.nickname = nickname;
    }

    @Generated(hash = 2135387174)
    public RoomBean() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRid() {
        return this.rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getRoom_name() {
        return this.room_name;
    }

    public void setRoom_name(String room_name) {
        this.room_name = room_name;
    }

    public String getNickname() {
        return this.nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
}
